Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
resampler_profile.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Roc authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_audio/resampler_profile.h
10
//! @brief Resampler profile.
11
12
#ifndef ROC_AUDIO_RESAMPLER_PROFILE_H_
13
#define ROC_AUDIO_RESAMPLER_PROFILE_H_
14
15
#include "
roc_audio/resampler.h
"
16
17
namespace
roc
{
18
namespace
audio {
19
20
//! Resampler parameters presets.
21
enum
ResamplerProfile
{
22
//! Low quality, fast speed.
23
ResamplerProfile_Low
,
24
25
//! Medium quality, medium speed.
26
ResamplerProfile_Medium
,
27
28
//! Hight quality, low speed.
29
ResamplerProfile_High
30
};
31
32
//! Get parameters for given resampler profile.
33
ResamplerConfig
resampler_profile
(
ResamplerProfile
profile);
34
35
}
// namespace audio
36
}
// namespace roc
37
38
#endif
// ROC_AUDIO_RESAMPLER_PROFILE_H_
roc::audio::resampler_profile
ResamplerConfig resampler_profile(ResamplerProfile profile)
Get parameters for given resampler profile.
roc::audio::ResamplerProfile
ResamplerProfile
Resampler parameters presets.
Definition:
resampler_profile.h:21
roc::audio::ResamplerProfile_Low
@ ResamplerProfile_Low
Low quality, fast speed.
Definition:
resampler_profile.h:23
roc::audio::ResamplerProfile_High
@ ResamplerProfile_High
Hight quality, low speed.
Definition:
resampler_profile.h:29
roc::audio::ResamplerProfile_Medium
@ ResamplerProfile_Medium
Medium quality, medium speed.
Definition:
resampler_profile.h:26
roc
Root namespace.
resampler.h
Resampler.
roc::audio::ResamplerConfig
Resampler parameters.
Definition:
resampler.h:28
roc_audio
resampler_profile.h
Generated by
1.9.5